//
//  ScanQRcodeViewController.h
//  Logistics_Store
//
//  Created by 葛悦彣 on 2019/7/25.
//  Copyright © 2019 Air. All rights reserved.
//

#import "SCBaseViewController.h"

NS_ASSUME_NONNULL_BEGIN

@interface ScanQRcodeViewController : SCBaseViewController


@property (nonatomic,strong) NSString * titleStr;


@property (nonatomic ,strong) NSMutableArray *dataArr;
@property (nonatomic ,strong) NSString * text;

/**
 获得二维码的block
 */
@property (nonatomic ,strong) void(^ScanBlock)(NSString *scanStr);

/**
 //执行这个block时自动会pop
    并且不会执行上一个block
 */
@property (nonatomic ,strong) void(^ScanPopBlock)(NSString *scanStr);
@property (nonatomic ,strong) void(^ScanPopandImgBlock)(NSString *scanStr,UIImage *img);


/**
 执行扫描结束的blcok
 */
@property (nonatomic ,strong) void(^ScanEndBlock)(void);


/**
 新的block 扫到数据就退出
 */
@property (nonatomic ,strong) void(^NewScanBlock)(NSString *scanStr);


@end

NS_ASSUME_NONNULL_END
